package monster.com.cvh.bean;

import java.io.Serializable;

/**
 * @author: monster
 * @data: 2018/4/24
 * @function: 解析推送评论的bean类
 */
public class PushCommentBean implements Serializable {


    /**
     * code : 1
     * msg : ok
     * data : {"id":41,"user_id":11,"user_name":"","icon_url":"http://0.0.0.0:5001/icons/cvlink_default_icon.jpg","content":"t","praise_count":1,"reply":1,"is_praise":true,"publish_time":"2018-04-25 15:36:46.637212"}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 41
         * user_id : 11
         * user_name :
         * icon_url : http://0.0.0.0:5001/icons/cvlink_default_icon.jpg
         * content : t
         * praise_count : 1
         * reply : 1
         * is_praise : true
         * publish_time : 2018-04-25 15:36:46.637212
         */

        private int id;
        private int user_id;
        private String user_name;
        private String icon_url;
        private String content;
        private int praise_count;
        private int reply;
        private boolean is_praise;
        private String publish_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getIcon_url() {
            return icon_url;
        }

        public void setIcon_url(String icon_url) {
            this.icon_url = icon_url;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getPraise_count() {
            return praise_count;
        }

        public void setPraise_count(int praise_count) {
            this.praise_count = praise_count;
        }

        public int getReply() {
            return reply;
        }

        public void setReply(int reply) {
            this.reply = reply;
        }

        public boolean isIs_praise() {
            return is_praise;
        }

        public void setIs_praise(boolean is_praise) {
            this.is_praise = is_praise;
        }

        public String getPublish_time() {
            return publish_time;
        }

        public void setPublish_time(String publish_time) {
            this.publish_time = publish_time;
        }
    }
}
